package org.xingole.jgit.utils.sha1;

import org.xingole.jgit.lib.ObjectId;

/**
 * Thrown by SHA1 if it detects a likely hash collision.
 */
public class Sha1CollisionException extends RuntimeException{
    private static final long serialVersionUID = 1L;

    /**
     * initialize with default message.
     *
     * @param id - object whose contents are a hash collision.
     */
    public Sha1CollisionException(ObjectId id) {
        // TODO: to implement the string format.
        super();
    }
}
